// 自动生成模板PmsCommentReplay
package biz

import "github.com/go-kratos/kratos/v2/log"

// pmsCommentReplay表 结构体  PmsCommentReplay
type PmsCommentReplay struct {
	Id        *int `json:"id" form:"id" gorm:"primarykey;comment:id;column:id;size:19;"`              //id
	CommentId *int `json:"commentId" form:"commentId" gorm:"comment:评论id;column:comment_id;size:19;"` //评论id
	ReplyId   *int `json:"replyId" form:"replyId" gorm:"comment:回复id;column:reply_id;size:19;"`       //回复id
}

// TableName pmsCommentReplay表 PmsCommentReplay自定义表名 pms_comment_replay
func (PmsCommentReplay) TableName() string {
	return "pms_comment_replay"
}

type PmsCommentReplayRepo interface {
}

type PmsCommentReplayUsecase struct {
	repo PmsCommentReplayRepo
	log  *log.Helper
}

func NewPmsCommentReplayUsecase(repo GreeterRepo, logger log.Logger) *PmsCommentReplayUsecase {
	return &PmsCommentReplayUsecase{repo: repo, log: log.NewHelper(logger)}
}
